Welcome![Sign In][Sign Up]
Location:
Search - tcp socket multithreading

Search list

[TCP/IP stackSOCKET-TCP

Description: SOCKET多线程,使用TCP连接,当有一个连接请求时候,建立一个线程。共有两个文件,一个Server,还有一个是Client-SOCKET multithreading, the use of TCP connections, when a link request, the establishment of a thread. A total of two documents, one Server, there is a Client
Platform: | Size: 24497 | Author: 的三分 | Hits:

[GUI Developwinsocket++

Description: TCP/IP Winsock编程实例,利用Winsock编程由同步和异步方式,同步方式逻辑清晰,编程专注于应用,在抢先式的多任务操作系统中(WinNt、Win2K)采用多线程方式效率基本达到异步方式的水平,应此以下为同步方式编程要点进行快速通信 -TCP/IP Winsock programming examples, the use of Winsock programming from synchronous and asynchronous, synchronous mode logic clear and programming focus on the application, preemptive multitasking operating system (WinNt, Win2K) using multithreading efficient way to achieve the basic level asynchronous mode, the following should be here for synchronous mode programming essentials for quick communication
Platform: | Size: 3072 | Author: sxy | Hits:

[TCP/IP stackSOCKET-TCP

Description: SOCKET多线程,使用TCP连接,当有一个连接请求时候,建立一个线程。共有两个文件,一个Server,还有一个是Client-SOCKET multithreading, the use of TCP connections, when a link request, the establishment of a thread. A total of two documents, one Server, there is a Client
Platform: | Size: 1200128 | Author: 的三分 | Hits:

[CommunicationC_TcpListener

Description: C# 写的通讯例子.以经典的聊天室程序为背景写的.主要用用到的知识点是Sockets通讯,多线程等.程序很简单.还是以练习为主.只要看明白了代码,对以后的学习会很有帮助.-C# examples written communications. To the classic chat room procedures for background writes. Mainly used to use the knowledge is So ckets communications, such as multithreading. procedure is very simple. or in the main practice. As long as the code can understand. in the future it would be helpful to study.
Platform: | Size: 104448 | Author: debugcn | Hits:

[ICQ-IM-ChatGTK_MySQ-LTCP_IP

Description: 在Linux平台下采用两种高级环境GTK+2.0和MySQL设计基于TCP/IP的网络聊天室,利用Linux操作系统的多线程技术和套接字编程技术.用GTK+2.0和MySQL开发数据库关键技术,详细说明了系统的通信原理和软件的设计与实现方法.-This paper introduces TCP/IP-based the chatrooms in network under the Linux environment with two advanced GTK+2.0 and MySQL using multithreading technology and Socket technology in Linux.It refers key technologies of developing database in GTK+ and MySQL.Its communication principle and software design and implement method are given in the paper at last.
Platform: | Size: 608256 | Author: rejoiceliberty | Hits:

[Internet-Networktcp

Description: 用就java语言编写实现,1.使用Socket通信 2.使用多线程 -Achieved using the java language, 1. Use Socket Communications 2. Multithreading
Platform: | Size: 4096 | Author: 闫飞 | Hits:

[Internet-NetworkIOCP

Description: ICOP服务器的开发,并提供源代码,动态库,调用DEMO(包含VC,C#,Delphi7)。 阅读源代码最好对C++,TCP/IP,socket编程,多线程和MFC有一定了解。 程序编译环境:Visual C++ 6.0。运行在Windows NT/2000或以上版本系统。-ICOP server development, and provide the source code, dynamic library, called DEMO (VC, C#, Delphi7). Read the source code is best for C++, TCP/IP, socket programming, multithreading, and MFC have a certain understanding. Compiled environment: Visual C++ 6.0. Running on Windows NT/2000 or later systems.
Platform: | Size: 55296 | Author: greg | Hits:

[JSP/JavaDTU-DATACENTER

Description: GPRS DTU数据中心 源代码,实际cdma的也可以用 DTU接受程序使用Java编写,其中,…\WSNserver\src 为源文件,…\WSNserver\bin 为可执行程序。该文件夹下project文件可用eclipse for java 直接打开编译。编译是需要注意的是将java-mysql的类库放置在C:\Program Files\Java\jre6\lib\ext路径下。本程序只用到这一个Java外部类库。 在源文件中,DataReceiver.java 为主程序类,通过该类调用其他子类。 其中:DataReceiver.java 包括主程序main,以及TCP/IP 接收数据的实现。 DataAnalysis.java 对接受的数据按照既定格式进行拆分 DataBase.java 将数据写入Mysql数据库 DataStructure.java 规定数据格式 TwoThread.java 开启多线程功能 post.java 实现向新浪网备份数据 GetIP.java 获取本机固定IP-GPRS DTU data center source code, you can also use the actual cdma DTU to accept the program written in Java, which, ... \ WSNserver \ src for the source file, ... \ WSNserver \ bin for the executable program. The project file folder opened directly available eclipse for java compiler. Compilation is important to note that the library will be java-mysql placed in C: \ Program Files \ Java \ jre6 \ lib \ ext path. This procedure is only used outside this a Java class libraries. In the source file, DataReceiver.java main classes, the class called by other sub-categories. Of which: DataReceiver.java including the main program main, and TCP/IP implementation to receive data. DataAnalysis.java of the received data in accordance with the established format for split DataBase.java to write data to Mysql database DataStructure.java data format requirements TwoThread.java on multithreading post.java Sina backup data to achieve GetIP.java fix
Platform: | Size: 31744 | Author: 刑名 | Hits:

[Internet-NetworkDemoQQ1

Description: (1).服务器与客户间通过套接口Socket(TCP)连接。在java中使用套接口相当简单,Java API为处理套接口的通信提供了一个类java.net.Socket,使得编写网络应用程序相对容易.服务器采用多线程以满足多用户的请求,通过创建一个Server Socket对象来监听来自客户的连接请求,默认端口为6000,然后无限循环调用accept()方法接受客户程序的连接.-( 1). The server and client presentation by Socket interface ( TCP ) connection. In the Java uses a set of interface is quite simple, Java API sets to address the communications interface provides a type java.net.Socket, allows the preparation of web applications with relative ease. Server uses multithreading to meet the user s request, by creating a Server Socket objects to monitor from the client connection requests, the default port is 6000, then the infinite loop to call accept ( ) method to accept client connections.
Platform: | Size: 65536 | Author: ddd | Hits:

[Internet-NetworkP2P-IM

Description: 设计一个p2p聊天软件,由多个聊天客户端和一个中心服务器组成。各个聊天客户端可以两两相互发送消息。目的在于设计GUI,多线程和套接字编程。各个客户端用IP地址和TCP/IP监听端口号进行标识。每个客户提供一个名字,方便其它客户端。 此设计由两部分组成。 部分一:p2p聊天中各个成员管理。每个成员称为一个peer,要有一个中心的服务处理peer的登记和对已经登记的peer进行更新。 步骤1:一个peer选择一个名字,通过登记界面进行登记。 步骤2:服务器拥有一个公有IP,在一个众所周知的端口进行监听。Peer向服务器发送‘register’请求,同时发送自己的登记信息(如自己取的名字,自己的监听端口号等)。服务器收到‘register’请求后,如果这是每一个登记请求,服务器建立一个用于记录已经登记peer的列表(Peer List),否则更新Peer List。 步骤3:服务器向来登记的peer发送Peer List。PeerList 由一些活跃的peer组成,一个活跃的peer是在最近30秒内进行登记的peer -The design of a p2p chat software, multiple chat client and a central server. Each chat client can two two send each other messages. Aims to design the GUI, multithreading and socket programming. Each client IP address and TCP/IP listening port number for identification. Each customer to provide a name, and convenient to other clients. This design consists of two parts. Part one: p2p chat management. Each member is called a peer, have a central service to deal with peer registration and to update already registered peer. Step 1: a peer to select a name to be registered through the registration interface. Step 2: The server has a public IP, in a well-known port listening. Peer to the server send register request, send the registration information (such as the name they take, their own listening port number, etc.). The server receives the request of the register , if this is per a registration request, the server to establish one for the record have been registered to the list o
Platform: | Size: 502784 | Author: liu | Hits:

[JSP/JavajavaSE_IM_source_code

Description: 企业即时通讯工具,采用C/S架构 + TCP/UDP协议 + Socket + 多线程技术实现。客户端支持:用户上下线,单聊,群聊,自定义消息字体样式,表情、图片发送,文件发送,语音聊天,修改状态,修改头像,修改密码等。服务端支持:服务器管理、用户管理、服务配置管理、日志管理等。 -Enterprise instant messaging tool, using the C/S architecture+ TCP/UDP protocol+ the Socket+ multithreading technology. Client support: the user off the assembly line, single chat, group chat, send self-defined message font styles, facial expressions, pictures, and send files, voice chat, to modify the state, Avatar, modify your password. Server support: server management, user management, service configuration management, log management.
Platform: | Size: 7975936 | Author: | Hits:

[WEB Codephpwebsocket

Description: HTML5+websocket实现PHP简单聊天室,含使用文档+源代码,开发语言:HTML5,Javascript,php,开发工具:Phpstorm 4.0,网上基本找不到一个成功用php写server的案例,比较少商业用途会使用这个脚本语言来实现server。html5 websocket的根本通讯还是基于http get,所以在性能上,理论值会比tcp socket低一点点。   PHP的垃圾回收机制,做socket长连接,是有问题的。   关于多线程,Php本来是单线程的,如果要做到多线程,可以做,但是一些文章说做出来的那个效果,是假的多线程,并不是实际意义上的多线程处理事务(文章说的,尚未证实)。php server长时间运行,是会挂起来的,要定期重启server。可能是由于长连接的原因。   因采用HTML5技术,所以你的浏览器需要支持HTML5,推荐使用火狐或Chrome,Safari等-HTML5+ websocket achieve a simple PHP chat rooms, including the use of documentation+ source code, development languages​ ​ : HTML5, Javascript, php, development tools: Phpstorm 4.0, basically find a successful online server with php written cases, relatively few commercial uses will using this scripting language to implement server. html5 websocket communication is based on the fundamental http get, so the performance will be lower than the theoretical value tcp socket a little bit. PHP s garbage collection mechanism, so long connection socket, there is a problem. Multithreading, Php originally single-threaded, multi-threading if you want to do, you can do it, do it, but some articles say that the effect is a fake multi-threaded, multi-threaded processing services is not practical sense (article says I have not yet confirmed). php server long run, it will hang up, periodically restart the server. May be due to the long connection. Due to the use of HTML5 technology, so
Platform: | Size: 472064 | Author: spudn90 | Hits:

[Internet-Networkwinsock

Description: 实现了聊天功能 局域网文件传输功能 分客户端和服务器端-File transfer is one of the most commonly used services on the Internet, a multi-threaded file transfer can effectively improve the file transfer speed and efficiency, this system use the Windows sockets implementation, Socket can be regarded as two network applications for communications, each an endpoint of communication.Client software and server software system points two parts, the need to use multithreading knowledge at the same time, an application can have multiple threads at the same time with the use of CPU resources, greatly strengthen the CPU utilization, but also from another aspect to speed up the transmission speed.As TCP/IP agreement linking the service is designed client/server application procedures for the mainstream standards, Therefore, the software used mainly TCP/IP agreement network communication technology client, server from CAsyncSocket inherited category, and therefore the software is completely asynchronous communi- cation procedures in Windows XP system
Platform: | Size: 56320 | Author: vzyuki | Hits:

[Internet-NetworkQQ-CHAT

Description: 1.说明 类似于QQ的局域网聊天软件,包括服务器端和客户端程序,采用tcp/ip socket多线程编程,服务器端主要负责客户端用户的注册登陆,用户资料的获取.客户端负责与其他客户端进行信息控制与传递(包括聊天和传送文件). 2.特点 a.采用tcp非udp的socket编程,保证传输的稳定性和实时性. b.在同步操作时大多数采用了多线程和超时控制.例如:在传送文件的同时能继续聊天. c.服务器只负责用户登陆,查询,修改用户的基本信息和实时的在线用户列表.而不参与客户端之间的信息传递. d.每个客户端既是聊天的发起端,又是接收端,实现了多点同时聊天和传送文件. -1 Description LAN chat software like QQ, including server and client program, using tcp/ip socket multithreaded programming, registration login server is responsible for client users, access to user data The client is responsible for client information with other control and delivery (including chat and transfer files). 2 Features a. using non udp tcp socket programming, to ensure stability and real-time transmission. . b synchronous operation when most uses multithreading and timeout control such as: transferring files at the same time continue to chat. c. servers are only responsible for user login, query, modify the user s basic information and real-time online user list. not participate in the transmission of information between clients. d. Each client is both initiator chat, but also the receiving end, to achieve a multi-point simultaneous chat and transfer files.
Platform: | Size: 248832 | Author: 胡一立 | Hits:

[Internet-NetworkMultithreading

Description: 实验3 TCP和UDP套接字综合应用 要求:(1)TCP、UDP (2)C/S (3)多线程编程 摘要:设计简单的客户/服务器,服务器实现并发同时响应客户的UDP通信要求,也能响应客户端发过来的TCP通信要求。 TCP客户: 客户创建流套接字,向服务器发起TCP连接。 连接创建成功后,通过套接字向服务器持续发送或是接收数据。 (3)输入或是收到命令”end”,结束收发数据,并断开与服务器的连接。 UDP客户:   (1)客户创建数据报套接字,通过该套接字向服务器发出”time”命令获取服务器系统时间。   (2)接收服务器返回的时间,更新客户系统时间。   (3)断开与服务器的连接。 服务器: 针对TCP客户,提供的服务如下:   (1)服务器创建监听套接字,监听客户TCP连接请求。   (2)当收到一个客户TCP连接请求,创建连接套接字同意与其创建连接。   (3)通过套接字与客户持续发送或是接收数据。   (4)输入或是收到”end“命令,结束与该客户的收发数据,断开连接。 针对UDP客户,提供的服务如下:   (1)服务器创建数据报套接字,等待接收客户数据。 (2)接收客户发来的“time”命令,获取系统时间,通过套接字返回给客户。-Experiment 3 TCP and UDP sockets integrated application Requirements: (1) TCP, UDP             (2) C/S             (3) multi-threaded programming Abstract: Designing a simple client/server, concurrent UDP communication while responding to customer requirements, but also to respond to the client sent, TCP communication requirements. TCP Client: Create a stream socket client initiates TCP connection to the server. After the connection is successfully created, sustained over a socket send or receive data to the server.         (3) Input or receiving the command end , the end of the send and receive data, and disconnect the server. UDP Client: (1) client creates a datagram socket, issuing a time command to the server via the socket for the server system time. (2) receives the server returns the time, update the client system time. (3) Disconnect the server. Server: For TCP client, the services provided are
Platform: | Size: 4453376 | Author: 刘强 | Hits:

[TCP/IP stackQTcpTest

Description: 基于QT5.5.1的socket TCP协议通信示例,包含客户端与服务端,实现了多线程、心跳机制、断线重连,数据简单封包(防止粘包)等必备技巧,已经封装为独立的类,可以移植性强,只需要添加自己的数据解析与处理即可直接使用。-Based on QT5.5.1 socket TCP communications example, including client and server, realize multithreading, heartbeat, break line, simple data packet (prevent glue bag), and other necessary skills, has encapsulated as independent classes, can strong portability, you just need to add your own data parsing and processing used directly.
Platform: | Size: 17408 | Author: 万科锐 | Hits:

CodeBus www.codebus.net